Multiprocessing implementation for MCNP using Python
نویسندگان
چکیده
Abstract Monte Carlo N-Particle (MCNP) is a widely-used code in nuclear engineering, but it needs high computation times due to the tracking of every single particle and interaction event. This causes shielding optimization using trial-and-error take long complete. It can be solved by multiprocessing, this requires MCNP source which difficult obtain. Therefore, paper aims suggest solution on how Python used run multiple instances optimization. Two hardware setups were tested: one with dual-core CPU, six-core CPU. Each them would several repeated simulations without multiprocessing enabled. Comparisons made between each case same setup observe improvements completion time. A tutorial algorithm also provided methodology.
منابع مشابه
PyonR: A Python Implementation for Racket
The Python programming language is becoming increasingly popular in a variety of areas, most notably among novice programmers, due to its readable syntax and extensive libraries. On the other hand, the Racket language and its DrRacket IDE have a tradition for being used to introduce Computer Science concepts to students. Besides, the Racket platform can be extended to support other programming ...
متن کاملAn Implementation of Python for Racket
Racket is a descendent of Scheme that is widely used as a first language for teaching computer science. To this end, Racket provides DrRacket, a simple but pedagogic IDE. On the other hand, Python is becoming increasingly popular in a variety of areas, most notably among novice programmers. This paper presents an implementation of Python for Racket which allows programmers to use DrRacket with ...
متن کاملAn Implementation of Python for DrRacket
The Python programming language is becoming increasingly popular in a variety of areas, most notably among novice programmers. This paper presents an implementation of Python for DrRacket which allows Python programmers to use DrRacket’s features with Python code, as well as adding Python support for DrRacket based tools, such as Rosetta. The suggested approach involves compiling Python code in...
متن کاملImplementation of Kalman Filter with Python Language
In this paper, we investigate the implementation of a Python code for a Kalman Filter using the Numpy package. A Kalman Filtering is carried out in two steps: Prediction and Update. Each step is investigated and coded as a function with matrix input and output. These different functions are explained and an example of a Kalman Filter application for the localization of mobile in wireless networ...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
ژورنال
عنوان ژورنال: IOP conference series
سال: 2022
ISSN: ['1757-899X', '1757-8981']
DOI: https://doi.org/10.1088/1757-899x/1231/1/012003